﻿   
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;
  
 namespace Oliving.Edge.Model.Dto.XLT
{
    ///<summary>
    ///绿化养护任务
    ///</summary> 
    
    [Serializable]
    public class CD_GreeningTaskPageDto 
    {
        public CD_GreeningTaskPageDto()
        {
        }
           
                            /// <summary> 
                            /// Desc:编号 
                            /// Default: 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public int GreeningTaskId { get; set; } 
    
                            /// <summary> 
                            /// Desc:项目ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "项目ID不能为空,内存长度超出 范围")]
                            public string ProjectId { get; set; } 
    
                            /// <summary> 
                            /// Desc:任务名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "任务名称不能为空,内存长度超出 范围")]
                            public string TaskName { get; set; } 
    
                            /// <summary> 
                            /// Desc:计划开始时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "计划开始时间不能为空,内存长度超出 范围")]
                            public string PlanStartTime { get; set; } 
    
                            /// <summary> 
                            /// Desc:计划结束时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "计划结束时间不能为空,内存长度超出 范围")]
                            public string PlanEndTime { get; set; } 
    
                            /// <summary> 
                            /// Desc:负责人ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "负责人ID不能为空,内存长度超出 范围")]
                            public string ManageUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:任务内容 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(500, MinimumLength = 1, ErrorMessage = "任务内容不能为空,内存长度超出 范围")]
                            public string PlanContent { get; set; } 
    
                            /// <summary> 
                            /// Desc:实际开始时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "实际开始时间不能为空,内存长度超出 范围")]
                            public string FactStartTime { get; set; } 
    
                            /// <summary> 
                            /// Desc:实际结束时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "实际结束时间不能为空,内存长度超出 范围")]
                            public string FactEndTime { get; set; } 
    
                            /// <summary> 
                            /// Desc:实际工作内容 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(500, MinimumLength = 1, ErrorMessage = "实际工作内容不能为空,内存长度超出 范围")]
                            public string WorkContent { get; set; } 
    
                            /// <summary> 
                            /// Desc:完成登记时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "完成登记时间不能为空,内存长度超出 范围")]
                            public string RegistTime { get; set; } 
    
                            /// <summary> 
                            /// Desc:完成登记用户ID 创建的用户ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "完成登记用户ID 创建的用户ID不能为空,内存长度超出 范围")]
                            public string RegistUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:完成登记用户名称 创建的用户名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "完成登记用户名称 创建的用户名称不能为空,内存长度超出 范围")]
                            public string RegistUserName { get; set; } 
    
                            /// <summary> 
                            /// Desc:软删除 0未删除，1 已删除 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? DeleteMark { get; set; } 
    
                            /// <summary> 
                            /// Desc:现场照片 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(8000, MinimumLength = 1, ErrorMessage = "现场照片不能为空,内存长度超出 范围")]
                            public string Picture { get; set; } 
    
                            /// <summary> 
                            /// Desc:排序 排序 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? SortCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:是否启用 0未启用，1启用 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? Enabled { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报时间 创建时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? CreateDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报用户ID 创建的用户ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "填报用户ID 创建的用户ID不能为空,内存长度超出 范围")]
                            public string CreateUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:创建的用户名称 创建的用户名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "创建的用户名称 创建的用户名称不能为空,内存长度超出 范围")]
                            public string CreateUserName { get; set; } 
    
                            /// <summary> 
                            /// Desc:最后一次修改时间 修改日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? ModifyDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改用户编号 修改用户编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户编号 修改用户编号不能为空,内存长度超出 范围")]
                            public string ModifyUserId { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改的用户姓名 修改的用户姓名 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改的用户姓名 修改的用户姓名不能为空,内存长度超出 范围")]
                            public string ModifyUserName { get; set; } 
 
    }

}
